from google.appengine.ext import db

class Message(db.Model):
	text = db.StringProperty(multiline=True)
	value = db.IntegerProperty(default=0)
	
	def answers(self):
		return (x.son for x in self.conversation_set)
